//
//  DetailViewController.m
//  UI8_Contact_Arr
//
//  Created by TravelRound on 15/11/18.
//  Copyright © 2015年 TravelRound. All rights reserved.
//

#import "DetailViewController.h"
#import "Student.h"

@interface DetailViewController ()

@end

@implementation DetailViewController

- (void)dealloc
{
//    [_nameTitle release];
    [_stu release];
    [super dealloc];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor yellowColor];
//    self.navigationItem.title = self.nameTitle;
    self.navigationItem.title = self.stu.name;
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
